#include<stdio.h>
#include<stdlib.h>
int main()
{ 
  float a,b,c;
  char op;
  scanf("%f%c%f",&a,&op,&b);
  switch(op)
  {
  	case'+': printf("result=%.2f",c=a+b);break;
  	case'-': printf("result=%.2f",c=a-b);break;
	case'*': printf("result=%.2f",c=a*b);break;
	case'/': printf("result=%.2f",c=a/b);break;
	default:printf("error");break;
  }
;
    return 0;
}
